<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix='c' uri="http://java.sun.com/jsp/jstl/core"%> 
<style type="text/css">
 	hr {border:#8D44AA 2px solid;}
  	p {color:white; font-size: 40px; background-color: #8D44AA; margin-left: 250px; margin-right: 250px; fon}
  	.headline {margin-top: 0px; margin-bottom: 10px;}
  	.headtext {font-weight: bolder; color:#8D44AA; margin-top: 20px; margin-bottom: 0px; font-style: 돋음; }
</style>
<jsp:include page="/WEB-INF/view/body/customer/myPage_form.jsp"/>
<br><br>

<h3 class="headtext">주문조회</h3>
<hr class="headline">
<table class="table table-bordered" style="text-align: center;">
	<tr align="center" style="background-color:#453949; color: white;">
		<td width="100px"><b>주문번호</b></td>
		<td width="90px"><b>주문자</b></td>
		<td width="150px"><b>주문날짜</b></td>
		<td width="300px"><b>상품명</b></td>
		<td width="150px"><b>상품금액</b></td>
		<td width="300px"><b>취소</b></td>
	</tr>
	<c:forEach items="${sessionScope.MypageOrderList }" var="list">
	<tr>
		 <td>${list.orderNumber }</td>
		 <td>${list.orderName }</td>
		 <td>${list.orderDate }</td>
		 <td>${list.completeName }</td>
		 <td>${list.completePrice }원</td>
		 <td><input type="button" class="btn btn-danger" value="취소하기"></td>
	</tr>
	</c:forEach>
</table>
